<form class="layui-form layui-form-pane" action="" id="info_form1">
    <div class="layui-form-item layui-form">
        <label class="layui-form-label">所属组</label>
        <div class="layui-input-block">
            <select name="host_group" lay-verify="">
                <option value="">请选择一个分组</option>
                <option value="测试">测试</option>
                <option value="性能" selected>性能</option>
                <option value="java化">Java化</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">类 型</label>
        <div class="layui-input-block">
            <select name="host_type" lay-verify="">
                <option value="">请选择类型</option>
                <option value="linux" selected>linux</option>
                <option value="windows">windows</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">主机地址</label>
        <div class="layui-input-block">
            <input type="text" name="ip_address" lay-verify="required" autocomplete="off" placeholder="请输入主机ip" class="layui-input" id="hostip">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-block">
            <input type="text" name="login_name" lay-verify="required" autocomplete="off" placeholder="请输入主机用户名" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">密 码</label>
        <div class="layui-input-block">
            <input type="password" name="login_pwd" lay-verify="required" autocomplete="off" placeholder="请输入主机密码" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">端  口</label>
        <div class="layui-input-block">
            <input type="text" name="login_port" autocomplete="off" placeholder="请输入主机端口，默认22" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">备 注</label>
        <div class="layui-input-block">
            <input type="text" name="mark" autocomplete="off" placeholder="请输入备注信息" class="layui-input">
        </div>
    </div>
    <div class="layui-inline " id="host-add-cfm" >
        <button class="layui-btn" lay-submit lay-filter="add-confirm" id="addConfirm">确定</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
</form>